// *Author：jxx
// *Contact：283591387@qq.com
// *代码由框架生成,任何更改都可能导致被代码生成器覆盖
export default function(){
    const table = {
        key: 'Id',
        footer: "Foots",
        cnName: '供应商管理',
        name: 'supplierinformation',
        url: "/supplierinformation/",
        sortName: "Id"
    };
    const tableName = table.name;
    const tableCNName = table.cnName;
    const newTabEdit = false;
    const key = table.key;
    const editFormFields = {"SupplierNumber":"","SupplierName":"","SupplierCompanyaddress":"","SupplierContact":"","SupplierMobilenumber":"","SupplierTime":"","SupplierNote":""};
    const editFormOptions = [[{"title":"供应商编号","field":"SupplierNumber","type":"text"},
                               {"title":"供应商名称","field":"SupplierName","type":"text"},
                               {"title":"公司地址","field":"SupplierCompanyaddress","type":"text"},
                               {"title":"联系人","field":"SupplierContact","type":"text"}],
                              [{"title":"手机号","field":"SupplierMobilenumber","type":"text"},
                               {"title":"添加时间","field":"SupplierTime","type":"date"},
                               {"title":"备注","field":"SupplierNote","type":"text"}]];
    const searchFormFields = {"SupplierNumber":"","SupplierName":"","SupplierCompanyaddress":"","SupplierContact":"","SupplierMobilenumber":"","SupplierTime":"","SupplierNote":""};
    const searchFormOptions = [[{"title":"供应商编号","field":"SupplierNumber"},{"title":"供应商名称","field":"SupplierName"},{"title":"公司地址","field":"SupplierCompanyaddress"}],[{"title":"联系人","field":"SupplierContact"},{"title":"手机号","field":"SupplierMobilenumber"},{"title":"添加时间","field":"SupplierTime"}],[{"title":"备注","field":"SupplierNote"}]];
    const columns = [{field:'Id',title:'主键自增',type:'int',width:110,hidden:true,readonly:true,require:true,align:'left'},
                       {field:'SupplierNumber',title:'供应商编号',type:'string',link:true,width:220,align:'left',sort:true},
                       {field:'SupplierName',title:'供应商名称',type:'string',width:220,align:'left'},
                       {field:'SupplierCompanyaddress',title:'公司地址',type:'string',width:220,align:'left'},
                       {field:'SupplierContact',title:'联系人',type:'string',width:220,align:'left'},
                       {field:'SupplierMobilenumber',title:'手机号',type:'string',width:110,align:'left'},
                       {field:'SupplierTime',title:'添加时间',type:'datetime',width:150,align:'left',sort:true},
                       {field:'SupplierNote',title:'备注',type:'string',width:220,align:'left'},
                       {field:'IsDel',title:'删除标志',type:'int',width:110,hidden:true,align:'left'}];
    const detail ={columns:[]};
    const details = [];

    return {
        table,
        key,
        tableName,
        tableCNName,
        newTabEdit,
        editFormFields,
        editFormOptions,
        searchFormFields,
        searchFormOptions,
        columns,
        detail,
        details
    };
}